<html>
<head>

<script>

if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpChildFrames();
}

</script>
</head>

<body>

    <p>This test checks that a SECURITY_ERR exception is raised while accessing document.domain
    in a sandboxed iframe (without &quot;allow-origin&quot; set). This test will print
    &quot;PASS&quot; on success.</p>

    <iframe sandbox="allow-scripts"
            src="resources/sandboxed-iframe-document-cookie-read-denied.html">
    </iframe>
</body>

</html>
